
public class Action {
	public enum ActionType{
		ADD, EDIT, DELETE		
	}
	
	private ActionType actionType;
	private Item item;
	
	public Action(ActionType actionType, Item item){
		this.setActionType(actionType);
		this.setItem(item);
	
	}

	public ActionType getActionType() {
		return actionType;
	}

	public void setActionType(ActionType actionType) {
		this.actionType = actionType;
	}

	public Item getItem() {
		return item;
	}

	public void setItem(Item item) {
		this.item = item;
	}

}
